package org.myspring.dis.ano;

import org.springframework.beans.factory.annotation.Required;

@SuppressWarnings("deprecation")
public class Student {

	String name;
	int age;
	public String getName() {
		return name;
	}
	
	@Required
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	
	@Required
	public void setAge(int age) {
		this.age = age;
	}
	
	@Override
	public String toString() {
		String reString = "name:"+name+",age:"+age;
		return reString;
	}
	
}
